# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('forums', '0005_auto_20150803_0746'),
    ]

    operations = [
        migrations.CreateModel(
            name='Classmate',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('content', models.CharField(max_length=500)),
                ('classname', models.CharField(max_length=200)),
                ('school', models.CharField(max_length=50)),
            ],
        ),
        migrations.CreateModel(
            name='Image',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('img', models.FileField(upload_to=b'user/image/')),
                ('descr', models.CharField(max_length=200)),
            ],
        ),
        migrations.AddField(
            model_name='classmate',
            name='pic',
            field=models.ForeignKey(related_name='classs', to='forums.Image'),
        ),
        migrations.AddField(
            model_name='classmate',
            name='user',
            field=models.ForeignKey(related_name='classmates', to='forums.UserProfile'),
        ),
    ]
